<h3 class="tblsitename">
</h3>

<% @kanban.each do |list_title, tasks| %>
<table cellpadding="0" cellspacing="0" width="240px" class="tblsite" style="margin: 4px 4px 4px 4px; float: left; clear: right;">
	<tbody class="tblsite-bd">
		<tr>
			<td colspan=2><b><%=list_title%></b></td>
		</tr>
	<% if tasks.size > 0 %>
		<% tasks.each do |task| %>
		<tr>
			<td class="URGENT_<%=task.urgent%> IMPORTANT_<%=task.important%> FINISHED_<%=task.finished?%>">
				<%=task.user ? task.user.link_tag(task.user.name.split('.').map{|t| t[0]}.join(), {:title => task.user.name}) : "-" %>
			</td>
			<td>
				[<%=task.project.link_tag%>]
				<span class="URGENT_<%=task.urgent%> IMPORTANT_<%=task.important%>"><%='I' if task.important%><%='U' if task.urgent%></span>
				<%=task.link_tag(task.name, {:class => 'colorbox cbTasklet', :title => task.description})%>
				<br />
				<%= task.status %>
				<%= task.assign_to ? "(#{task.assign_to.name})" : '' %>
			</td>

		</tr>
		<% end %>
	<% else %>
		<tr>
			<td colspan=2>-</td>
		</tr>
	<% end %>
	</tbody>
</table>
<% end%>
